from django.urls import path
from menu.views import TreeListView, SaveView, ActionView

urlpatterns = [
    path("treeList", TreeListView.as_view(), name="treeList"),  # 查询菜单树
    path("save", SaveView.as_view(), name="save"),  # 保存菜单(新增/修改)
    path("action", ActionView.as_view(), name="action"),  # 查询单个菜单
]
